/*
 * acm1049.c
 *
 *  Created on: 20 Mar 2010
 *      Author: xuxu
 */

#include<stdio.h>
#include<math.h>
#define PI 3.141592653
int main()
{
	int year;
	int n;
	double area;
	double x,y;
	int count=1;
	scanf("%d",&n);
	while(n--)
	{
		scanf("%lf%lf",&x,&y);
		area=PI*(x*x+y*y)/2/50;
		year=area;
		if(area>year)
			year+=1;
		printf("Property %d: This property will begin eroding in year %d.\n",count++,year);
	}
	printf("END OF OUTPUT.\n");
}
